from dataclasses import dataclass

@dataclass
class CoinTrans:
    id : str
    symbol : str
    price : float
    is_success : bool
    addrs : list[str]


if __name__ == "__main__":
    ct = CoinTrans("01","BTC/USC",3.4,True,['0x11','0x22'])
    print(ct)